package course.pojo.excelModel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author HLF
 * @date 2022/7/5 16:34
 */
@Data
@EqualsAndHashCode
public class TeacherModel {
    /**
     * 教师编码
     */
    @ExcelProperty(value = "教师编号", index = 0)
    private Integer tid;

    /**
     * 教师名称
     */
    @ExcelProperty(value = "教师名称", index = 1)
    private String tname;

    /**
     * 性别
     */
    @ExcelProperty(value = "性别", index = 2)
    private String tsex;

    /**
     * 手机号
     */
    @ExcelProperty(value = "手机号", index = 3)
    private String tphone;

    /**
     * email
     */
    @ExcelProperty(value = "email", index = 4)
    private String temail;

    /**
     * 学院id
     */

    @ExcelIgnore
    private Integer cid;

    @ExcelProperty(value = "所属学院", index = 5)
    private String cname;
}
